package com.example.project.service;

import com.example.project.entity.User;


public interface UserService {
    String getToken(User user, long time);
    User findUser(Long id);
    User findUser(String name);
    void saveUser(User user);
}
